home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19950329-19950528
/
000046_news@columbia.edu_Wed Apr 5 14:50:18 1995.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA27655
(5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Wed, 5 Apr 1995 10:50:25 -0400
Received: by apakabar.cc.columbia.edu id AA08069
(5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Wed, 5 Apr 1995 10:50:22 -0400
Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: macros and wild cards (feature request)
Date: 5 Apr 1995 14:50:18 GMT
Organization: Columbia University
Lines: 37
Message-Id: <3luana$7s0@apakabar.cc.columbia.edu>
References: <ROCKWELL.95Apr3161321@nova.umd.edu> <3lpsev$iqm@apakabar.cc.columbia.edu> <ROCKWELL.95Apr4132155@nova.umd.edu>
Nntp-Posting-Host: watsun.cc.columbia.edu
Apparently-To: kermit.misc@watsun.cc.columbia.edu
In article <ROCKWELL.95Apr4132155@nova.umd.edu>,
Raul Deluth Miller <rockwell@nova.umd.edu> wrote:
: Frank da Cruz:
: I could give you a better answer if I knew which version of Kermit
: you were talking about. MS-DOS Kermit? C-Kermit?
:
: I use C-Kermit, MS-DOS Kermit, and CMS-Kermit. Kermit is my preferred
: mechanism for getting files [in and] out of CMS.
:
Terrific. \\ffiles() works in C-Kermit and MS-DOS Kermit, but not in
CMS Kermit. There is probably some other way to do this in CMS Kermit
with REXX or EXEC.
: In C-Kermit, you use \ffiles(wildcard) and the fnextfile() to get
: each filename, and assign it to an array member. See the example
: in ckcker.bwr (search for "ffiles").
:
: Thanks, next time I have to tackle this kind of problem I'll look for
: this feature.
:
: [P.S. it would also be nice to have an analogue to \ffiles() which
: would get the list of files from a remote kermit server, put or send
: command.]
:
Kind of like what the ftp client and server do. Good idea. We'll add
it to the list for future releases.
For now, assuming the server is running on UNIX, you can simulate this with
something like:
remote host echo oofa.* > /tmp/x
get /tmp/x
and then use OPEN READ, READ, CLOSE READ to read the filenames into an
array. Replace the above two lines with the equivalents for VMS, CMS, etc.
- Frank